package com.seal.tsms.exam.entity;


import com.seal.tsms.base.entity.IdEntity;
import org.hibernate.annotations.GenericGenerator;

import javax.persistence.*;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by 武总 on 2016/6/3.
 */
@Entity
@Table(name="tb_teacher")
public class Teacher extends IdEntity{


    private String name;//姓名
    private String sex;//性别
    private int age; //年龄



    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }


}
